from yaml import safe_load
from common.get_random import get_testdata


def get_yaml():
    data = safe_load(open("./testdata/data.yaml"))
    # testcase = data.testdata.get("testcase")
    # return json.dumps(data["case"], indent=4)
    return data.get("testdata").get("case")
# print(get_yaml())
print(get_testdata(1)[0][0])